package com.awardsystem.Dao;

import com.awardsystem.entity.Project;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface ProjectDao extends JpaRepository<Project,Integer> {
    Project findProjectByNumber(String number);
    List<Project> findProjectsByName(String name);
    Project findProjectById(int id);
}
